@echo off

setlocal 
%~d0
cd "%~dp0"

Set servername=".\SQLEXPRESS"

echo.
echo ========= Creating ElmahDb database ========= 
SqlCmd -S %servername% -E -i sql\ElmahDb\ElmahDb.sql
SqlCmd -S %servername% -E -d ElmahDb -i sql\ElmahDb\Elmah.SqlServer.sql

echo.
PAUSE